package com.javaee.term.model;

import javax.persistence.*;

public class Stockman {
    /**
     * 仓库管理员主键
     */
    @Id
    @Column(name = "stockman_id")
    private Integer stockmanId;

    private String account;

    private String password;

    /**
     * 获取仓库管理员主键
     *
     * @return stockman_id - 仓库管理员主键
     */
    public Integer getStockmanId() {
        return stockmanId;
    }

    /**
     * 设置仓库管理员主键
     *
     * @param stockmanId 仓库管理员主键
     */
    public void setStockmanId(Integer stockmanId) {
        this.stockmanId = stockmanId;
    }

    /**
     * @return account
     */
    public String getAccount() {
        return account;
    }

    /**
     * @param account
     */
    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    /**
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }
}